package com.villaday.idf.adapter3;

import android.content.Context;

import com.villaday.idf.R;
import com.villaday.idf.custom.bannerUtil.AbsRecyclerViewAdapter;
import com.villaday.idf.model3.DataEntity;

public class ShopOrderTopAdapter extends AbsRecyclerViewAdapter<DataEntity> {


    public ShopOrderTopAdapter(Context context) {
        super(context, R.layout.recycle_shop_order_top);
    }

    @Override
    public void onBindHolder(RecyclerViewHolder holder, DataEntity d, int position) {
        holder.bindTextView(R.id.tv_sod_title, d.getTitle())
                .bindTextView(R.id.tv_sod_content, d.getContent());
    }
}
